lowercase all the things

- also fixed a struct I missed in the typedef removal pass
- more braces fixed