Improve nonrecursive dequeue, and make wear wait for the image to load.
Add range two-argument form for random.
Add cross-origin support to all image requests.