Fixes to TileMap to handle a FreeList instead of slower linear search.