added a few methods to TransparentWindow class