Minor optimization: only expand outline to level 2 initially and disable redrawing on expand all/collapse all operations.