fixed window name issues on windoze, re #8091