Added method setGoAwayWhenAnotherWindowBecomesKey: