Window/Level based on selection area is discussed at Feedback requested: How to improve mouse interaction in views? - #12 by lassoan
Auto Window/Level was changed from a histogram bimodal analysis to a fixed percentile based method. It was updated in Slicer as ENH: Improved automatic scalar volume display window/level computation · Slicer/Slicer@bc0d938 · GitHub