modified genhtml_tree for folder selection, in doc_root added progressbar loading