make window showing logic more aggressive