This uses one of the 2 frame functions Correct Brightness. Esentially a picture is taken of nothing and this is set as Active Frame 2 and Correct Brightness invoked for each frame in the stack before any resizing or colour balancing is done. A Macro can do this job for you once you have the correction frame loaded along with the stack.