Fix a bunch of warnings, mostly maybe-uninitialized warnings