update Window class
Merge remote-tracking branch 'origin/master'