@Override
	public void setMessage(String message) {
		if (origMessage == null) {
			origMessage = getMessage();
		}
		super.setMessage(message);
	}
A {@link TaskMonitor} wrapper that restores all changed values of the wrapped TaskMonitor when
the wrapper is {@link #close() closed}.
Ghidra/Framework/Generic/src/main/java/ghidra/util/task/PreserveStateWrappingTaskMonitor.java