synchronized void setScriptStatus(String strStatus) {
		if (strStatus == null)
			return;
		boolean isError = strStatus.indexOf("ERROR:") >= 0;
		setStatusChanged((isError ? "scriptError" : "scriptStatus"), 0, strStatus, false);

		if (isError || strStatus.equals("Script completed"))
			setStatusChanged("scriptTerminated", 1, "Jmol script terminated" + (isError ? " unsuccesscully: " + strStatus : " successfully"), false);

		if (jmolStatusListener != null)
			jmolStatusListener.sendConsoleMessage(strStatus);
	}