Main window.