Workspace optimization / fixes

Fix $EDITOR configuration. Errors popup when git attempts to open a file in $EDITOR for commit messages etc…