Handle the case where the active window gets removed leaving us stuck
Handle the case where the active window gets removed leaving us stuck

* When multiple windows are around if the active window gets removed
  we need to be careful when reassigning the active window.

Zorro666/renderdoc,baldurk/renderdoc,etnlGD/renderdoc,adrianbu/renderdoc,Anteru/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,Anteru/renderdoc,adrianbu/renderdoc,moradin/renderdoc,victor-moya/renderdoc,Yours3lf/renderdoc,Anteru/renderdoc,Yours3lf/renderdoc,cgmb/renderdoc,TurtleRockStudios/renderdoc_public,Yours3lf/renderdoc,baldurk/renderdoc,moradin/renderdoc,Lssikkes/renderdoc,victor-moya/renderdoc,cgmb/renderdoc,baldurk/renderdoc,Velro/renderdoc,Anteru/renderdoc,adrianbu/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,moradin/renderdoc,Velro/renderdoc,Lssikkes/renderdoc,etnlGD/renderdoc,cgmb/renderdoc,Yours3lf/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Lssikkes/renderdoc,victor-moya/renderdoc,Anteru/renderdoc,Anteru/renderdoc,googlestadia/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,Yours3lf/renderdoc,victor-moya/renderdoc,michaelrgb/renderdoc,Velro/renderdoc,googlestadia/renderdoc,Velro/renderdoc,Velro/renderdoc,TurtleRockStudios/renderdoc_public,moradin/renderdoc,googlestadia/renderdoc,cgmb/renderdoc,adrianbu/renderdoc,etnlGD/renderdoc,googlestadia/renderdoc,Lssikkes/renderdoc,cgmb/renderdoc,Zorro666/renderdoc,TurtleRockStudios/renderdoc_public,Anteru/renderdoc,victor-moya/renderdoc,victor-moya/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,moradin/renderdoc,TurtleRockStudios/renderdoc_public,moradin/renderdoc,michaelrgb/renderdoc,michaelrgb/renderdoc,Lssikkes/renderdoc,Velro/renderdoc,TurtleRockStudios/renderdoc_public,Yours3lf/renderdoc,etnlGD/renderdoc,Lssikkes/renderdoc,michaelrgb/renderdoc,adrianbu/renderdoc,adrianbu/renderdoc