Removed tick and draw from main class, saves remaining time from ticks.