small cleanup in `_Window` class