Local variable cleanup
Compare changes
First batch of formatting fixes, submitting these before things get massively out of sync again.
I've tried to apply the following rules throughout the code:
const
.I've also tried being a bit more explicit in variable and function naming.