Changed the Gui events to hold Tasks instead of Runnables, and made tile
creation more dynamic.