added icon, fixed problem where it was crashing like it was out of memory. also handled pdf-reading error.