Essays On The Macroeconomics Of The Labor Market, Human Capital, And Markets With Frictions