Tweaks to the way dual contour edits are performed, added cuboid shape and made snapping to grid optional for boxes.