Change to Window, DecoratedWindow, Frame and Dialog including demos.