[FIX] wikilink
[FIX] TOC

hide TOC when that is empty
remove useless entries and slim down TOC
[FIX] rename and remove file or dir

fix cannnot correctly rename dir or file
fix cannot remove dir
[FIX] change editor preview update interval 5s -> 3s