Added reload image option
Started adding configutation options
Improved resizing of rotated images