window minimize works. not for opening window again though