Make extracting the key map easier
Remove broken hand-made modifiers
Remove XHB template code form Main.hs
Generalize lookupKeyAction