Terrains_Generator

i fixed a segmentation fault where the terrains were not being deleted
correctly
and i tried to fix scaling issue when tile resolution is higher than
default
so now "max height" and "Y scale" have a smaller difference between it's
overall value to affect terrains height