You played it fine for the most part. I would have made a much larger turn bet of around $15. He was a donkey for sticking around and trying to catch his 8 high flush which often times will be no good even if he hits. Where it mattered you got unlucky, but in future hands make bigger bets of 60% the pot at least.