First attempt at a code editor.
Second atte mpt at  editor, getting really weird stuff.
Editor not working, basic functionality in place, leaving until later.