Made a couple fixes to Orthogonalization.

Made it so it should work with regular polygons as well as multi polygons.
Fixed a problem that caused save to fail if the orthogonalization failed.