Refactor the GameState singleton to use iOS's dispatch_once.