Recently one of our plumbers came across a water heater that had actually burned up the controls and wiring.  This was caused by a loose connection where one of the power wires terminates on the high limit.  It is important to make sure the screws that hold the wires in place are very snug to keep this from happening.

See corresponding pictures