Changed ThreadedQueue to work with an InCallback.