Changed the layout of the window. Things now resize reasonably.