Created the editor as a subwindow so that it could have a text cursor, while the menu subwindow does not. Added lines. Have defined rows.