|| !PreferenceLoader.loadBoolean("running")) {
|| !PreferenceLoader.loadBoolean("running") || debug ) {
    public static void main(String[] args) {        display = new Display();		// parse args		int optind;		for (optind = 0; optind < args.length; optind++) {			if (args[optind].equals("-c")) {				PreferenceLoader.setPrefFile(args[++optind]); 			} else if (args[optind].equals("-l")) {				processingLink = true;				link = args[++optind];			} else if (args[optind].equals("-d")) {				debug = true;			} else if (args[optind].equals("-h")) {				hostname = args[++optind];			} else if (args[optind].equals("-p")) {				port = new Integer( args[++optind] ).intValue();			} else if (args[optind].equals("-U")) {				username = args[++optind];			} else if (args[optind].equals("-P")) {				password = args[++optind];			} else if (args[optind].equals("--")) {				optind++;				break;			} else if (args[optind].startsWith("-h") || args[optind].startsWith("--h")) {				System.out.println(					"Usage: g2gui [[-c path/to/pref] | [-l link] [-h host] [-p port] [-U user] [-P passwd]]");				System.exit(1);			} else {				break;			}		} 		G2GuiResources.initialize();		PreferenceLoader.initialize();        preferenceStore = PreferenceLoader.getPreferenceStore();        /*determine wether a new instance of G2gui is allowed: */        if (processingLink           || PreferenceLoader.loadBoolean("allowMultipleInstances")	      || !PreferenceLoader.loadBoolean("running")) {            launch();        } else {            MessageBox alreadyRunning = new MessageBox(new Shell(display),                    SWT.YES | SWT.NO | SWT.ICON_ERROR);            alreadyRunning.setText(G2GuiResources.getString("G2_MULTIPLE_WARNING_HEAD"));            alreadyRunning.setMessage(G2GuiResources.getString("G2_MULTIPLE_WARNING_MESSAGE"));            if (alreadyRunning.open() == SWT.YES) {                launch();            }        }    }