Essays on Firm Dynamics and Inequality