Improve window management debug messages