Added the new window manager.
Dropped support for old window API.