Better intent matching, dont open pdfs from browser without intent selection, fixes issue #6