If you have more than one instance of the Plugin/Plugin Standalone running, you want them to be able to each access bbw4 that is still running in the background.
If I have Plugin Standalone 1 use bbw4 for a function, finish the function, then when I use Plugin Standalone 2 it will freeze up trying to access bw4 that is still running in the background.
If I have Plugin 1 use bbw4 for a function, finish the function, then when I use Plugin 2 it will focus on Plugin 1 and apply the function to it.
Rather than closing bbw4 after each function, maybe you could reset it so it's open to either one ? or maybe you could run multiple instances of bbw4 ?