Implement transparent window and close functionality