Added main window.