minor log changes, fixed folder closing exception.