Electrical systems run on magic smoke. Once you see it escape the system no longer works, and that burnt / melted plastic probably resulted in a bunch of escaping magic smoke. You can replace that whole plug and the burnt ends, and I second the switch to LEDs, I use Electrical Connections in my GL1800.
I love your explanation.....
having worked as an Electronic's Tech since 1958, I have always joked that I "let the good smoke out"
this brings up a memory from long ago...
I used to wear watches with those fancy Spidel metal expansion bands.
One day, while working on an older car, that watch band bridged the Positive post to the vertical Bolt that secures the battery down....
Needless to say, it smoked, and I said a few words that will remain unrepeated again.
from that day on, I never, ever, wore anything metal on my hands, or arms.
Not even a wedding ring, and once my new wife heard the story, and was shown an example on our car's battery...... and the melted remains of that piece of metal, she never mentioned it again.
.