performance improvements.
Made the main loop call game logic as often as possible instead of rate limiting.
Use actual time delta for calculations rather than expected time from rate limit.