Moved some things around in CompactHeightfield, marked helper methods as private.
Fixed a few bugs in region/contour generation.
Started writing code to visualize contours.