Zaslat SMS: Ergodic states and symmetry breaking in phase transitions.