simplify
drop scratch-mode and clean up some elisp code
tiny cleanup
fix parens