Editor is now functional

Still a little rough and buggy, but the editor is now completely
functional. A little more polish and it's ready for 1.0 release.