public static void initHeadless() throws IOException {
		GhidraApplicationLayout layout = new GhidraApplicationLayout();
		HeadlessGhidraApplicationConfiguration config =
			new HeadlessGhidraApplicationConfiguration();
		Application.initializeApplication(layout, config);
	}
Initialize the Ghidra application in headless mode.

@throws IOException if the file system can't be read
Ghidra/Debug/Debugger-jpda/src/main/java/ghidra/dbg/jdi/rmi/jpda/GhidraJdiInit.java