The Ref was a little inconsistent to say the least, but the offside in our half was correct. The law is that if you are in an offside position in your opponents half when the ball is played, then run back into your own half to receive it you are offside and the kick is taken from where you touched the ball, not where you were when the ball was kicked.
As for the one where he was through and Palmer saved it, it may have been either a) given for a foul as the striker was holding our defender, or b) the striker may have come from an off-side position to receive the ball (although it didn't look like it on the live feed).
The penalty looked good to me, but we know that Johnson makes Referee's make decisions and it is hard to do at the speed he runs at.
Those defences of his performance said, the Bridcutt not being forced to leave the pitch and the general bitty way things developed, followed by what looked like the wrong booking of Edun instead of TJ for the mele all seemed dodgy to me.
6/10