reverted flags applybadpixelmap, beamcenterx, and beamcentery for back compatability...
commented out bufferAssembledNPeaksMin and bufferAssembledNPeaksMax completely to get rid of warnings when compiling
commented out pthread_mutex_lock and pthred_mutex_unlock in saveRadialAverageStack, this has already been done in addToRadialAverageStack and it seems that multiple locks in the same thread results in threads freezing at the end of run....
changed so that the global counter is used in addToRadialAverageStack instead of local (removes bug where radialStack is saved for the first event in class), reverted output name so several files are saved, updated output for radialAverages and powderSums