Made the queue global (hopefully).