Essays On Connected Lending, Misallocation, And Aggregate Productivity