Improved biome handling

Fixed crash when an unrecognized biome ID is encountered.

fixes #270 (github)