Rebased on recent master.
Removed old split point selection mode.
Fixed deletion of all new segments when split points are too
close to eachother.
Removed selection check from isActive().
Changed constraint handling from transferConstraints() to manual
due to segment selection issues.