Fixed deletion of closed polyline segments to a satisfying degree...