Moved and renamed internal functions in capHistSum().
Added CutthroatAL, other minor changes