Yes, he and the officiating crew were pretty bad. Even the announcers stated that they hoped it was his last game as a referee.
I do not think it was a coincidence that they chose to card 2 US players out of the game - and that at least 1 US player will still be ineligible for the next must-win game against Ghana.
I'll probably get rapped in the mouth for saying so, but this bias seems to be typical of the anti-American bias in many international sports (World Cup, Davis Cup, Ryder Cup, Olympics [especially Winter Olympic events], and many World Championship competitions). The IOC even stated that part of its reasoning why it chose to eliminate softball and baseball from future Summer Olympiads was because these events were unfair to other countries due to the success of US teams. The US has only won 1 or 2 baseball gold medals in the last 30-40 years. But, I don't hear about the IOC applying this same reasoning to other events - especially "judges" events - dominated by one country or region.
So, don't expect this unfriendly atmosphere in international competition to change any time soon. I'll get off my soapbox now.
Personal opinion (based on some facts)