improved alert visibility
added support for "applications", i.e. pdfs; cleaned up minor typo