Made CompactSpan.NotConnected private and made checking for an unconnected span much simpler.
Replaced ContourSet.CONTOUR_TESS_* consts with a ContourBuildFlags enum.
Moved Contour out into it's own file.
Removed Contour.Num*, forced arrays to be of exact length.
Started moving static math/geometry functions to MathHelper.cs.
Added missing and fixed existing documentation.
Lots of minor style fixes from a StyleCop run.