Aye granted he should've kept the heid for the first booking - but he did nothing wrong for the second and certainly didn't cost us three points. That was the ref and linesman.
Clearly our throw in the lead up to their goal.
Edit: although in fairness a st mirren goal had been coming for a good while