There is no temperature sensor on the circuit board. Temperature of the batteries is measured by thermistors in the packs essential to the charging procedure (NiMh cells heat when fully charged; lithium replacements simulate this while remaining cool).
Leaking electrolytic capacitors would usually be replaced, but the cause of the damage you see is unknown. Maybe defect in manufacture (surface mount soldering performed in an oven).
Faulty electrolytic capacitors have been responsible for certain system failures, especially C10 causing the system to freeze. Full instructions on replacement posted.