renamed agent and added global queue and memory usage stats