Made TextureDialog actually load textures
Revised TileDialog