Lots of changes to tilemap stuff.