integrated MainGame into GameState framework and added temp fix to really small time deltas