Upate to world generation for Alpha1.0.22

Generalize world gen functions.