Complete rework and cleanup of emacs configuration