No need for self.gui nor init_qt hook any more. This makes plugins more independent of window and gui types.