Fleshing out the main window.