refactoring: fixed keypress responsiveness

simplified keypress interface; not sure why I first did it that way
added table of "enabled" keys in config