Fixed a couple of editing bugs.