Changed the way that the display is positioned in the window, and the way that window resizing works.