public static BundleHost acquireBundleHostReference() {
		if (referenceCount.getAndIncrement() == 0) {
			initialize(new BundleHost(), null);
		}
		return bundleHost;
	}
When running the GUI, {@link GhidraScriptUtil} manages a single {@link BundleHost} instance.

@return the BundleHost singleton
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptUtil.java