fixed: Compile warnings + cosmetics

This fixes a whole bunch of compile warnings, removing a lot of noise when doing a full compile.