Bug 1112416 - Fix racing of InputMgmt/KBApp when switching from RocketBar to other app

- Through a flag in InputWindow, do not really set the iW as inactive during iW's input-appclosed event if we know it will become ready soon.
Reverse the logic? -> `if (inputWindow._pendingReady) { /* Do nothing. */ return; }`