Fixed test for requiring window tidy
Fixed showing active console after login fail
Refactor updating window statuses