fixed wierd keyboard stuff by factoring out keypress events
fixed obvious === bug
toCode needs to use uppercase, since keyboard separates key and modifier
Merge branch 'master' into topic/kbd_caper
Merge pull request #218 from johnpmayer/topic/kbd_caper

fixed wierd keyboard stuff by factoring out keypress events