OSX fixes.
Default editor on osx