Intermediate fix for launching PDF files, and added support for viewing non-PDF filetypes.