Add "shrink to fit" image mode

This is now the default. Also includes a few UI improvements.