editor with basic undo and redo, lightly tested on emulator