2 bug fixes; added log4j.properties