Well, it almost works.  Maps are being generated as all water.  I know where the problem is, just not quite how to fix it yet.   Will get some help when I can.