Improved debugging output for path inset code.
Fixed bug in path untwisting.