Completed first pass at main window layout.