Weird ignition problem...maybe!?

The same condition can be heat related failure of pickup coil in the distributer too. Only way to know for sure is unplug and check the pick up with an ohm meter.
To find the gel coat oozing out the back of the ECU is a good clue but without any evidence at all its a coin toss. Pony up for both components is a good move.