private void parse(String command) {
		String[] in = command.split(" ");
		String root = in[0];
		if (in.length > 0 && !in[0].equals("")) {
			if (root.equals("threshold")) {
				threshold(in);
			} else if (root.equals("stat")) {
				stat(in);
			} else if (root.equals("cls")) {
				output.setText("");
			} else if (root.equals("close")) {
				dispose();
			} else if (root.equals("exit")) {
				System.exit(0);
			} else if (root.equals("who")) {
				for (int i = 1; i < in.length; i++) {
					String id = in[i].replaceAll(",","");
					DygraphViewer fgv = (DygraphViewer)controller.getView();
					log("Looking up id #" + id + ": " + fgv.whois(id));
				}
			} else {
				err("Unrecognized command: " + command);
			}
		} else {
			log("");
		}
	}