docs: public void removeScriptEngineWrapper(ScriptEngineWrapper wrapper) {
  		logger.debug("Removing script engine: " + wrapper.getLanguageName() + " : " + wrapper.getEngineName());
  		if (this.engineWrappers.remove(wrapper)) {
  			if (scriptUI != null) {
  				try {
  					scriptUI.engineRemoved(wrapper);
  				} catch (Exception e) {
  					logger.error("An error occurred while notifying ScriptUI:", e);
  				}
  			}
  
  			setScriptEngineWrapper(getTreeModel().getScriptsNode(), wrapper, null);
  			processTemplatesOfRemovedEngine(getTreeModel().getTemplatesNode(), wrapper);
  		}
  	}