chdir command canonicalizes input path for consistency
change directory dialog displays paths under homedir using tilde notation
browser title uses tilde when cwd is under homedir