Not sure where to post, car won't start with brake pedal pressed

I finally found the issue I believe. It looks like one of the wires to the msd was getting power from a connector that loses voltage when the brake pedal is pressed. I ran it to a different wire that only gets 12v when the ign is switched on, and now it stays running.

Next thing is to see if I can trace that connector and see where it leads, I'm just curious.

This whole wiring harness is a spliced up mess.