connected interactive marker menu to actual functionality: deleting points, measuring distance
merged workmode=3 changes from brad into my version