JSLFrame.resetFrameCount();
	public void setupInitialMenuBar(JToolBar tb) {	    if (invisible != null) {		selected = invisible.getJFrame();		selected.setJMenuBar(PatchEdit.createMenuBar());		selected.setSize(0,0);		//selected.setLocation(0,0x7FFFFFFF);		selected.pack();		selected.setVisible(true);		//selected.addWindowListener(this);	    }	    registerFrame(toolbar);	    //toolbar.addJSLFrameListener(this);	    toolbar.setJMenuBar(PatchEdit.createMenuBar());	    tb.setFloatable(false);	    toolbar.getContentPane().add(tb);	    toolbar.pack();	    toolbar.setVisible(true);	}