Remove per-window eventfilter.
Add logging when closing window