Feature #4977: Add batchDownload finish notification
Feature #4977: Improve and secure error handling