Enable some Xlint warnings

Also address a handful of warnings.