private ArrayList<String> getEvents()
{
	ArrayList<String> ret = new ArrayList<String>();
	String line = null;

	for(;;) {
		try {
			if(!serverr.ready())
				break;
			line = serverr.readLine();
		} catch(IOException e) {
			e.printStackTrace();
			break;
		}

		if(line == null)
			continue;

		System.err.println(line); // As if it was redirectStderr
		ret.add(line);
	}

	return ret;
}