Findbugs

Added findbugs to maven, and fixed 15 simple warnings
dead code