added LogQuery.getId(), getStatus(), CometClient.getQuery(int id)