* Build: Catch incorrect format specifiers with /we4777 and fix issues. Most of these are using %d for a DWORD when it should be %ld. * More compilation fixes