Implement a UI for switching between windows.