Added no-sort argument.
added no-sort argument
Better exception handling, now will put an object back in queue if there are issues.