Three essays on real estate finance