Enable some Xlint warning

Also address a handful of warnings.