Some work on the queue mechanism.