pub fn set_message_bus(msgbus: Rc<RefCell<MessageBus>>)
Sets the global message bus.
Panics if a message bus has already been set.