Create the window.