enhanced error handling in LaunchPDFViewer()