move keypress handling into engine
Merge branch 'master' of https://github.com/gamesoftheyear/g