Outsourced jpg processing in own file, corrected behavior when exif is not parsed corretly. reworked the date pick routine.