global NEW_HOME will replace default when expanding '~'; general cleanup