Sets a bunch of accept and cancel buttons, other hotkeys

This is a partial implementation of #23. Try it out!