emacs: some simplifications
Command & History: dump History, (partial) fix boundaries