made sure queue order is maintained or restart resolves #334 (#336)
made sure queue order is maintained or restart resolves #334 (#336)

* made sure queue order is maintained or restart resolves #334

* removed uneeded comments

* added comment to mention 10000 limit on retrieving pending jobs

terascope/teraslice,godber/teraslice,terascope/teraslice,godber/teraslice,terascope/teraslice,jsnoble/teraslice,godber/teraslice,terascope/teraslice,jsnoble/teraslice,jsnoble/teraslice,jsnoble/teraslice,jsnoble/teraslice