.......Switched on windscreen smearers and the headlights went out
That's standard. The switch and connections often overheat. To stop it happening, replace the switch and connectors as necessary and then rewire after the swith with a relay to take the load off it.