Recompiled all plugins with new common library and cleaned up OnLoaded to prevent multiple calls