Scope the *key-events* buffer to the function which use it
Add key press handling
Move package definition into its own file

Makes file dependencies easier
Use a ui file
Ignore ui save files
Update ui
Return nil in keypress handler
Rework keypress handling architecture
Add the emacs keyevent handler to the global key handlers
Implement initial keycode to string conversion
Use a helper to check if we're accepting keys
Add a destructuring-dolist