hiding window contents on minimize
fixing merge