Change string type in logging code from wxString to std::string.
Also change a few related areas, such as connection and pending op
dump strings.

This reduces the amount of wxT and .c_str() madness.
This is also to make it less difficult to port to wxWidgets 3.0 in future.