Added some window resizing.