Set working directory when opening editor.
Fix error message.
Open ~/.dotfiles by default.