Merge pull request #8 from gcq/master

Added a wait_for_window() method