Fixed mapgen_spec.h includes to mapgen.h.  Added a half-hearted auto-resize.