Add an injection rate text field
Fix a crash casting null to float