handle case when certificate submission fails; add option to put error messages in templatepane when GenerateWorker fails