remove redundant extern
remove unneeded heap allocation and further hide wvtWin internals
strengthen constness
split wvtWin into super/sub