dump an image of an X window
