- fixed flaw where loading a heightmap with 0 blue pixel would result in infinite height terrain

- removed heightmap ratio const (obsolete)
- added tree generation and treegen undo