Add FindBugs support; fix code to comply