Creates and shows a new window.
the new window
indicates whether the window has chrome (see Window.decorated).
to configure the resulting window.