Fixed code folding updating by switching to latest version of CodeMirror(@marijnh, author of CodeMirror fixed this bug, thanks), added File Tree(needs styling, according to theme), added context menu for tabs.