Auto-scroll logging widget. Move dialogs to ui module, fix imports. All the tools should be moved to a separate module as they are no longer UI'