* app/paint_funcs.c: Correctly initialize the max arrays in thin_region. Fixes bug #8351 * app/scale.c: return from the channel_scale function if we tried to zoom in/out too far. This prevents some unnecessary display redraws.