make gameloop object global

makes starting new game and loading game cleaner