Textmeddelande: Essays on financial frictions, collateral and default