Nicer management of dock windows