Again you obviously know nothing about travel. Anyone with a brain steam can easily explain what he went through.Firstly, Iran isn't as wealthy as America. Therefore, Westerners that travel there are generally wealthier than locals, certainly poorly paid customs officials, especially if the westerner in question is a rich movie star. See the connection? Poor customs official must approve entry for rich westerner, there is small problem, no worry $20 fee to cover it should be okay.
You're especially blind and ignorant if you think Westerners (and Americans in specific) are "singled out and treated like I was some second class nobody because I am not muslim." First of all, let's deal with the anti-American position first. As I'm sure you're aware, the actions of the American government are not too popular right now around the world (or in America itself), and when people get angry about something like that, especially right in their backyard, well goshdarnit they just tend to collect and yell about it for a while. But these Iranians, unlike people from certain other countries, it seems, have the ability to distinguish the actions of a government from the views of its people, and tourists, even American tourists, in Iran face no problems.
Secondly, the muslim position. As long as you conduct yourself respectfully, no one will care that you're not muslim. Obviously you should make yourself aware of a few key rules about social conduct before you go (you should do this before going anywhere), but any minor gaffes will just be written off as you not knowing much about Iranian culture, and no one will really care.
I apologize for the long winded post, but I felt the need to spoon feed a few things to you.