Fix up a bunch of compiler warnings ...