working on main window layout