Heightmap changes

Heightmap now using core.gui modules. Made PEP-8 changes so that it all
follows the same coding standards.