Three Essays On Frictions In Financial Markets