Removed unused functions.
//setbiome uses the new architecture.
Removed obsoleted functions and variables.