fixed up the editor, added vertex creation mode