Adding Main Window.