std::string for program name and param list

Considering we have an std::vector<std::string> here, I guess there's no
problem in having std::strings as well.
Note both leaks were properly noted...
reduce warnings in Visual Studio

Push/pop warning state ignoring deprecated functions.