Cleanup and sort.
Added a game logic tick timer.