Attempt at a text editor.