Simple changes to use EXIF info to fix orientation.