A whole slew of worldgen fixes and optimizations.