Added nice, threadsafe queue