From your notes I'm guessing MP shows quad 9's! Which is beaten when SB flips TsJs for a straight flush!

I wouldn't have folded that flop, though, even with the flush draw. You're putting your money in when you're ahead (65/35 vs. flush; 96/4 vs. quads or straight flush), let the cards fall where they may. Most of the time you win this.