added log widget to main window