added support for frame and windows management