Changes he spearheaded in 2001 helped avert disaster. He later led the United Nations Development Program.