Fixed window resizing.
Now window.main_view resizes as well. :p duh.