Added win detector