emacs mods. added all packages to auto-install list. minor refactoring.