remove old windows when workspace changes