Clean up .emacs and hooks