This thesis consists of an introductory chapter and three self-contained essays that apply insights from the microeconomic theory of corporate finance in a macroeconomic setting in order to explain and understand various market failures that were at the roots of the global financial crisis of...