Oops, forgot to forward-declare toWideString() in the previous commit/scratch Windows program. Fixed.
Fixed toWideString() in the scratch Windows program: the implementation was actually wrong (no null terminator, convoluted code)!