The Yedlin red card was nailed on, he was through with a clear run to goal with very little chance of the covering defender getting across in time.
I don't think the elbow on Perez was in any way intentional, but he has swung an arm and caught him so I would certainly understand a penalty and red card.