Removed compilation errors

Still a dummy heightmap and the terrain does not use it at all.
Continued working on the particle system
Fixed compilation error in texturing
Continued working on particles

TODO: bug hunting.