focus changes

game pauses after focus has been lost
controls are cleared when focus has been lost
game uses less cpu when not focused