This is an image of the mask finally generated. It will be used for the two-stage brightness adjustments. You can do the brightness adjustments without actually creating the mask as an image (the white square at the right of the amount slider always allows you to find the mask you are looking for). I saved the mask for reference.