Remove terrain.hpp compile errors.

Turned all the setup functions to take actual memory.  Now main does all the initial allocation of memory, so no need to compile a separate terrain.o file.  Of course, with helper, this could be trouble...
Almost compiles.

undefined reference to 'PathPt...' remain.

Soon, compilation, then, the world!!!