boolean applyToWithTransaction(Program p, TaskMonitor analysisMonitor) {
			int txId = p.startTransaction(worker.getWorkerName());
			try {
				return applyTo(p, analysisMonitor);
			}
			finally {
				p.endTransaction(txId, true);
			}
		}
<code>AnalysisWorkerCommand</code> facilitates the controlled callback to an AnalysisWorker.
In a Headed environment a modal task dialog will be used to block user input if the
worker was scheduled with analyzeChanges==false
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AutoAnalysisManager.java