Add auto min/max checkbox and associated functionality.
Change histogram layout so that min/max widgets span entire histogram width.
Enable/disable/readonly histogram widgets based on whether image is open, gamma transform is turned on, and auto min/max is enabled.