Simplified the game loop.
Better constant reuse.
Code cleanup.
Maintain a frame counter.
Added an interface for publishing input states to remote game instances.