Create the window