Fix crash when point isnan
Save state for later undo when adding a new point
Version bump
Merge branch 'dev'