The terrain writer now seems to work.
Use added noise to generate terrain, rather than the old perlin grid. This incorporates the TerrainMap class. Normals don't work yet, and colors aren't generated or used.