Try clicking the _ or the X. Try dragging the top of the window frame.
The X now truly deletes the window instead of sending it backward Infinity layers.