Three Essays On Market Imperfections And Inequality