Attempting write a random level generator.
mess in mainWindow

Making a mess trying to generate a level from the mainwindow.

Can't find TileSizeX in mainWindow.