Moved world functions to a new file and fixed some timing in last 10 seconds of game.