Creating a window.