Got X11 close window protocol working.