Use correct `$HOME` variable expansion instead of tilde.
The note dir is in fact our `$WIKIROOT` so we set it to that by default. Also took the chance and added a small 'cd' command into the note dir, using `ncd`