imageframe: improve toggling of contrast levels, now show min/max image level