Essays on school finance and teacher performance