Various fixes

* Declare anyins-mode-map at top-level
* Convert lambdas to interactive commands
* Declare buffer-local variables at top-level
* Use more standard 'y' and '!' keybindings rather than 'k' and 's'