updating "update" to be more correct and limiting pending results to 10 by default
adding toArray method
updating the queue processing and adding the option to export results to a file