Exactly (broadly anyway). He has also provided the poor a hell of a lot in his time in power as well, which is one of the reasons he is currently the president. We see lots of protests by the middle class city folk who are generally anti Armadinejad, not the majority in the smaller towns and villages that voted him in. At least that is my understanding after talking to several anti Armadinejad Iranians...
The US (and west) are one of the major contributors to Irans want of nuclear weapons... Isreal and US sabre rattling over the years have essentially given the Iranian leaders little choice (in their mind) but to develop something that will hopefully secure their independence. It's like the ICC putting crimes on the heads of state leaders and then wondering why the leaders refuse to leave until the bitter end (e.g. Gadaffi and Assad... If Assad ever loses power he will be arrested either by the Syrians themselves or the ICC... He is going to have a better chance fighting it out in Syria than going in to exile, because, well he won't be allowed to.).
Agree with everything!