Some minor bug fixes.
Fixed a problem with spores.