Three Essays on Macroeconomic and Financial Stability