added a global lock for System.Plugins.load
(it seems to not be MT-safe)