Tweaks to string-edit