Ahmadinejad is extremist in some of his views (end of world scenarios),
==============================================
End of the world rubbish is quite common among Christians and Jews alike. Ronald Reagan's Secretary of the Interior, James Watt, claimed that conservation of the forests was an act of stupid futility, because the End of the World would arrive soon and all would be destroyed.
Ol' Ronnie himself said he believed that perhaps some space aliens with bigger guns than us would swoop down on us Earthlings and teach us to make nice with one another.
Turns out, this was basically the plot of a film called The Forbin Project, in which the US doomsday machine and its Soviet equivalent join forces to make war impossible, because they see it as a threat to their existence.
Ahmedinejad is a typical Shiite with a typical Iranian sense of humor and irony. He is not crazy, he is typical of his country and this period and is much admired at home.
If you check out Iranian websites, you will see that his visit and speeches are seen as major triumphs for Iranian dignity.