Essays on the US Mortgage Market