Cleaned up emacs file and got most of the packages working.