Either make the menu bar icon removable or (better) remove the app from ⌘-⇥ when the window is closed.