refactor WindowConductor
change WindowConductor to prevent reentrancy in OnClosing (#38)