Proper addition of the text edit pane but still needs lots of work