(Fnext_window): Add a QUIT in the loop.