Minor: Oops removing debugging stuff.
Improving main window check.
Updating to winchan 0.0.4