Fixed a few bugs and made tile GUI worker logic