made folders clickable in toc
bugfixes for doctags refactoring