Find bugs checking

Fixed lots of *scariest* and *scary* FindBugs errors, including probably 20 tangible faults that could impact the user.