I (eventually) realized where you were going with this.  I've migrated the mutexes into a global space, which cures some dumbness on my part, but there still is no guarantee that another thread in the current process but outside this bundle won't collide.  I don't know of a way around that.