Overhauled state tracking and a few other things, this commit is a Jackson Pollock
changing modifier stuff, trying to resolve proper keysym lookup
code vomit. Needs more work on porting code over from Keybind.c, but much closer to working