adds queue utils.
removes commented out code.
Merge pull request #78 from birkin/master

adds queue utils.