public static void main(String[] args) {
		if(args.length >= 1 && args[0].equals("debug")){
			debug = true;
		}
		client1 = new Client();
		try {
			//client1.buildGUI();
			gui = new GUI(client1);
			config = new Config();
			String tmp = config.getWindowTitle();
			if (!tmp.equals("")) {
				client1.windowTitle = tmp;
				GUI.frame.setTitle(tmp);  
			}
			tools = new Tools(client1);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}