Add setWindow
Release 0.0.7