wxString::wchar_str() to store each argument in argv before processing
them. wchar_str() returns a temporary object which was destructed
and (depending on the whim of the heap) being overwritten before
the command line was procesed, causing inconsistent command-line
processing in my debug build and (possibly) could have caused crashes.
Now the value of each argument is copied into a newly allocated buffer.