Added code folding and restore_view plugin