Adding text edit in main window that displays the logging output