KEY POINTS:
North Korea has shut down its one nuclear reactor and the associated plutonium reprocessing plant and International Atomic Energy Agency inspectors have arrived in Yongbyon to seal the equipment and oversee the decommissioning process. The North Korean Administration in Pyongyang, the capital, has promised to deliver a list of all its other nuclear facilities within a few months - and then the real haggling will begin.
Does North Korea really have a separate uranium mining and enrichment programme, as the United States Central Intelligence Agency has alleged?
What happens if North Korea's list doesn't include any information about that? How many bombs has North Korea built, apart from the one it tested last October, and what happens to them now?
The arguments will go on for years because that suits Pyongyang's purposes, but we really didn't have to start the discussion from this far back. There didn't have to be any North Korean nuclear weapons at all. Indeed, there wouldn't be if arguments had not been replaced by threats and ultimatums five years ago.
The main problem was the "mercurial" North Korean leader Kim Jong-Il. Or rather, his image in the West as an unpredictable half-crazed megalomaniac whose dream was to rule the world or, failing that, to blow it up.
The 2004 film Team America: World Police, a somewhat eccentric puppet-based study of the interactions between foreign policy and the intelligence services in the United States, captured the prevailing Washington view of Kim Jong-Il so perfectly that I take the liberty of quoting briefly from the script.
Kim Jong-Il on a giant monitor, to terrorists: "Who's responsible for blowing up Panama?"
Terrorist: "We were upset about Cairo."
Kim Jong-Il: "Goddamnit, how many times do I have to tell you? You don't use the WMDs until you see the signal. I have worked 10 years on this plan. It is a very precise and a complicated plan. I'm sick of you terrorists f****** it up. Now take the weapons where I told you and wait for the goddamn signal this time. Goodbye." Shuts off monitor, and cools down.
Kim Jong-Il: "Why is everyone so f****** stupid?"
This was the imaginary monster that President George Bush had in mind when he included North Korea in his famous "axis of evil" (aka "regimes to be overthrown") in early 2002.
Then John Bolton, his Undersecretary of State for Arms Control and International Security, pulled the plug on the almost perpetual negotiations in which North Korea traded abstention from a full-scale nuclear weapons programme for badly needed gifts of food and fuel from its neighbours.
So Kim decided that he actually had to go nuclear this time to get their attention. What the Bush gang didn't realise - although everybody else did - was that Kim Jong-Il is not crazy.
He does not yearn for immolation in the fireball of an American nuclear weapon, so he has no actual plan to attack anybody else with nuclear weapons.
But he learned from his father that blackmail works: threaten to build nuclear weapons and your neighbours will bribe you not to build them.
Kim Il-Sung got exactly that kind of deal in 1994 and it was still in effect when Bush came into office, although neither side had kept all its promises.
Kim Jong-Il needed a better deal, because his country's economy was in even worse shape than it had been in the 90s, so he began hinting about nuclear weapons again.
Crude tactics, certainly, but not new or hard to understand. And instead of buying him off with some more fuel and food, the Bush Administration put him on a hit list and broke off negotiations with him. So Kim carried out his threat.
There was an abortive "framework agreement" in 2005 in which North Korea promised to stop its nuclear programmes in return for food and fuel, the establishment of diplomatic relations with the US and an American pledge not to attack North Korea.
But that deal was immediately undermined by the US Treasury Department's apparently unco-ordinated action in freezing North Korean funds in foreign banks because of suspicions that Pyongyang was counterfeiting US dollars.
That was never proved, but it took another two years to unravel the mess.
It was only after North Korea actually exploded a nuclear weapon last October that the Bush Administration was persuaded to abandon its obstructive behaviour and sign a binding agreement with Pyongyang.
"North Korea had less than 10kg of plutonium in 2002," South Korean chief negotiator Chun Yung-woo said a week ago. "Now they could have as much as 50kg. In other words, we are not going back to the status quo ante. We are restarting from a much worse position."
"We have a long way to go before we undo all the damage that [United Nations ambassador] John Bolton and his like have done to the process of denuclearising the North."
But at least they have started to clear up the mess.
* Gwynne Dyer's new book, The Mess They Made: The Middle East After Iraq, was published last week in New Zealand.