Offering thanks in the midst of tragedy is an American tradition, . even during a bloody Civil War.