Added text pane to window.