greatly improved performance of the engine by following a better game loop model. Added frame rate lagging and rendering extrapolation for smoother display