make the --window option do something