Fixed texture bug

LPCWSTR is a pointer to a wide character string.  changing all of these
to wstring fixed the issue.