Essays On Labor Market Frictions And Macroeconomics