Added Closed event to xlib implementation
and minimize, isMinimized