protected PluginTool createTool() {
		StandAlonePluginTool newTool = new StandAlonePluginTool(StandAloneApplication.this,
			layout.getApplicationProperties().getApplicationName(), true);

		Element rootElement = getSavedToolElement();
		if (rootElement == null) {
			rootElement = getDefaultToolElement();
		}
		if (rootElement != null) {
			Element toolElement = rootElement.getChild("TOOL");
			Element savedDataElement = rootElement.getChild("DATA_STATE");
			configuration.getTaskMonitor().setMessage("Restoring Tool Configuration...");
			newTool.restoreFromXml(toolElement);
			configuration.getTaskMonitor().setMessage("Restoring Tool State...");
			newTool.restoreDataStateFromXml(savedDataElement);
		}

		initializeTool(newTool);
		return newTool;
	}
Read {@link ApplicationProperties} from the specified file path relative
to the current working directory.
<p>
<b>The given properties file is expected to have the
{@link ApplicationProperties#APPLICATION_NAME_PROPERTY} and
{@link ApplicationProperties#APPLICATION_VERSION_PROPERTY} properties
set.</b>
@param propertiesFilename the name of the properties file.
@return application properties
@throws IOException if file read error occurs
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/StandAloneApplication.java