Made image loading throw exception on error. Removed unnecessary header for imgtogbspr