commit crash caused by deleting a marker while mouse is held down (needs generalizing...