Window.setPosition()

and cleaning