Fixed bug with incorrect callback being triggered when no tasks specified, also added 'complete' event trigger for such case.
Fixed bug with incorrect callback being triggered when no tasks specified, also added 'complete' event trigger for such case.