Fixed TileMapObject creation using name instead of type
Debug printing for map creation