fixed empty dirs with empty subdirs. added scan feedback.