private Map<ProgramLocator, Program> getOpenPrograms(Collection<ProgramLocator> locators) {
		Map<ProgramLocator, Program> map = new HashMap<>();
		for (ProgramLocator locator : locators) {
			Program program = programMgr.getOpenProgram(locator);
			if (program != null) {
				map.put(locator, program);
			}
		}
		return map;
	}
Start a transaction if one has not been started; needed when program properties are about to
change from the options editor.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/ProgramManagerPlugin.java