Better implementation of closures. Successfully switch to minigame, wait until minigame is done, then reload menu