Moved Input abd Event System updates into game-logic update loop. Limited to timestep now. Added global stats system.