non image files crash fixed, minor spelling changes