What role did the stock market crash play in the collapse of the economy??