spelling error, simplifying a conditional, documentation
renaming references to log4j jar to the standard name