Improvement: double-clicking the icon toggles window