Fix two crashing bugs that were introduced on Unicode builds when wxWidgets was upgraded from 2.8.1 to 3.1.0. First was that "argv" stopped behaving like the ANSI C "argv" in that argv[argc] was invalid memory, instead of NULL.
Second is on debug builds, trying to print out all memory leaks crashed because a "const char *" can no longer be converted to a wxString after the atexit handlers have started to be invoked.