Added showing and hiding of X11 window