added snap to edge method
new concept appears to work now
cleaned
re-enabled save geometry
negative tolerance disables merging of duplicate nodes