Address FindBugs issues and disable some detectors

This commit fixes enough FindBugs issues and disables enough detectors for `mvn findbugs:check` to pass.
`builder.smp` takes an Integer rather than an int, so stick with `valueOf`?