resolved #15 by implementing SwitchToWindow and CloseCurrentAndSwitchToWindow methods
Merge pull request #20 from adeel41/SwitchWindows

Switching between windows and close any active window
Merge pull request #6 from LiquidThinking/master

pull changes from origin