Some fixes and improvements
Heightmaps are now 16-bit grayscale pgm