changed default editor to emacs - egad! - and misc other bits