Changed a lot of thigns.

I'm pretty sure everything except the tab button works now. (as far as
hotkeys go).