Clean up and UI in one window