Partially completed text editor.  Handover to JM.