Minor performance tweaks.

A bunch of tiny performance tweaks to reduce GC churn and eliminate
unnecessary processing.
Missed a semicolon at the end of a statement.
Merge pull request #300 from mayaknife/worldGenOpt1

Minor performance tweaks.