Add FindBugs support, fix some issues, and fix typos.