removed bug in boolean checking, improved integer checking
removed Systemout debug code, some better logger messages
some more javadoc