using "const std::wstring" instead of just "std::wstring" where applicab...

...le