Add orientation correction
Obey prefs when resizing images
Clean up shrunked.jsm
Temporary fix for attached images