Keybindings gui

First stab at a ui for keybindings.  Warning messy code, just for testing.