+ fix crash when dragging a point adter undoing the deletion of a line
+ whitespace improvement
+ fix inconsistency problem after undo/redo