Reworked threading of TileLoader.