Address FindBugs issues and disable some detectors

This commit fixes enough FindBugs issues and disables enough detectors for `mvn findbugs:check` to pass.
Remove these two lines? Or still open for discussion?