Flat frames normalized by median value

Frames were not being normalized before being combined.  This created a
noisy master flat.