if (startGUI)
if (startGUI && frame != null)
	private void connect() throws Exception {		if (startGUI)			frame.setStatus("connecting to " + properties.getProperty("uri"));		Class cl = Class.forName(properties.getProperty("driver"));		Database database = (Database) cl.newInstance();		database.setProperty("create-database", "true");		if (properties.containsKey("configuration"))			database.setProperty("configuration", properties.getProperty("configuration"));		DatabaseManager.registerDatabase(database);		current =			DatabaseManager.getCollection(				properties.getProperty("uri") + path,				properties.getProperty("user"),				properties.getProperty("password"));		if (startGUI)			frame.setStatus(				"connected to "					+ properties.getProperty("uri")					+ " as user "					+ properties.getProperty("user"));	}