Needing some help diagnosing whats going on with my bike. I was riding at bostwick creek MX today in FL when my bike died on the face of a big tabletop. There is a sweeping right into a sweeping left and then a long straight into the face of this table. Its 4th hammered down and just as I hit the face the bike died. Somehow managed to save it and avoid a bad crash. Bike did not restart on landing. It did not lock up thankfully. I rolled off the track and the bike refired on about the 5th kick. Rode it 20 ft and it died again. Got it going again and lots of popping and generally running like crap. Got it back to the pits. Started looking things over and can't seem to find anything obvious (such as electrical connector unplugged) so After the bike cooled down a bit I went back out and rode around and it was still running a little funny after a few laps so I packed it up and headed home. Got home and removed the valve cover to inspect valves. Left intake is at .003" other wise all valves are in spec. Piston is nearly new with around 5 hrs run time. I'm thinking I've got an electrical issue. Since the problem only seemed to occur when the bike got hot I'm thinking possibly coolant temp sensor is faulty. Or the tip over sensor has some issue and cut fuel and spark. Lastly I'm also considering the idea of the TPS being faulty and causing some issue. Any ideas? Could bad fuel cause this problem? It rained on my way home from my last ride day before this one, maybe some water got in the gas and gas can? Any help greatly appreciated.