Made the game continue to update while the browser window is out of focus, to avoid tweens freezing when the user clicks away, and to allow players on computers to do other things while accumulating cupcakes (a key feature of Cookie Clicker, IMO). Refactored ShopState code to allow automatic refreshing of the shop buttons.