Merge InitMap, initTerrain and resetTerrain successors from rP20894.
Lets the random map script decide which baseTerrain and baseHeight it wants to use before initializing the map,
rather than painting what is in the JSON file, then changing ones mind and painting something else on top of it.
This cleaner heightmap initialization incidentally addresses the uninitialized border of the heightmap in that commit (excluding the Unknown).