add widget and message bus.