add hide show mode, tidy up .emacs init file