Fixed issue where delete mode would not work

-issue was caused by calling the incorrect 'index' of a point.
-fixed by tweaking the assignment of uniqueIds/indexes
-minor code cleanup

Fixed critical issue where nonsequential points would cause fatal errors
-this issue would present itself if the admin deleted a point that was not at the trailing end of the db
-fixed the issue by creating support for always saving points sequentially