code: public static String debug() {
  		StringBuilder s = new StringBuilder();
  		for (TaskManager tm : resources.values())
  			tm.debug(s);
  		return s.toString();
  	}
docs: Return a string containing multi-threading status for debugging purposes.