remove MainPluginInstance singleton, allow now several instances in one address space