GENERATE ALL THE TILES!! (and some fixbugs)