Got rid of string literal assignment to non const char pointer errors.