So the plugin has to initialize its UI toolkit and render it. But as
all the plugins are loaded in the same process, for performances
reason, it is unsafe to run gtk_main_loop() in each of them.
this is all part of the many reasons why these toolkits are problematic. Qt has similar issues. The correct answer would depend on the host, which is obviously not a desirable condition to have to understand.