Terrain.cpp segfault fixes. PHEW!!
Merge branch 'master' of https://github.com/UMLComputerGraphics/GraphicsProject
Write generated makefile to qMakefile and execute that instead.