wscreensaver working
handle window as argument