Essays on Firm Dynamics, Local Financial Markets, and the Business Cycle