A lithium-ion battery pack is exposed to high temperatures and overcharging. What signs indicate the onset of thermal runaway, and what engineering controls can be implemented to prevent it?