EXTREME Cleanup of Warnings, errors, formatting, etc etc
This is probably the biggest cleanup commit of all.