lose more unneeded windows tchar usage (just use W versions internally)