Queue Uses Pop

unshift was erroneously used to pull items out of queue.