Added some cleanup checks and support for .map files from the TiledTerrainEditor project