Removed obsolete code from terrain rendering
Added debugging capabilities and refactored dynamic buffers
Another refactor in order to move to modern OpenGL