Moved the image queue into its own module, in_queue.js