adding some error checking. removing Log4perl dependency. updating README to match perldocs.