Graphics windows now exits when asked.