New class Window. It makes many operations much much simpler. There is still a lot to do.