Bars::siftDown, pause and window closure handling.