if (PatchEdit.desktop != null)
if (JSLDesktop.getInstance() != null)
    public JSLFrame() {	if (useIFrames)	    proxy = new JSLIFrame(this);	else	    proxy = new JSLJFrame(this);	// This is really means PatchEdit.desktop, not JSLDesktop.getInstance()	if (PatchEdit.desktop != null)	    JSLDesktop.registerFrame(this);	frame_count++;    }