The ending of the Cold War

What role did the following play in the ending of the Cold War: The Strategic Defense Initiative (SDI); the policies of Glasnost and Perestroika; and the personal relationship between Ronald Reagan and Mikhail Gorbachev? Which do you think was the most important in bringing the conflict to an end?