added log widget and enhanced gui