findbugs fixes, comparing of strings, redundant calls
removed instance of Character