calibration gripper fixes, added global edit_mode