Fixed bug: DB abort rotate alert; added NUM_SNAPS