Reorganized the UI around the window's size constraint