you should limit your far-value, greater far-values are not good for your z-buffer (depth-buffer, how you call it..), so dont use 22000 (when using small values for the near plane)...
I didnt continue my work on that generator (since I switched to Ogre for different reasons), but you can of course download and use it if you like (its only a small piece of code, just remember thats its far from completed and there may be bugs).