fixed input clear(), added log4net refs