Fixed issues with std::strings being in the api

I JUST LEARNED THAT THIS WAS BAD PRACTICE.  WHOOPS.
more fixes