hide window while quiting and updating