added debugging output to XWindow