Added a script for creating maps to help visualize the relationship between the various scaling factors.
I refactored some things. Smaller independent functions are good.
Tweaked a little more.
More refactoring. No longer a monolith, but a toolset for manipulating heightmaps. Not too shabby.