Fix "can't close first tab in window" bug.
Merge branch 'master' of https://github.com/CVVisualPSETeam/CVVisual