Create faster key cache for main game loop (client)

Cache control keys to improve the speed of the run loop (client)

Basic timing comparisons are here: http://pastebin.com/Gr2n27je