update simplewindow
Revert "update simplewindow"

This reverts commit c3cbc0090eee15c5869b989b40e34a118acf2792.