@davidrevoy
it ist difficult to work with windows.
In this case you have to remove the glass an put some cat litter inbetween the frame. Then the cat knows how to work with windows.