Fixed "broken room IDs" issue.
Synched building-grime code from TileZed.