changed window start up behavior