Convert the dhandle list to a queue.

In preparation for short circuiting searches with a hash.