Change history size and a bunch of emacs things