strtok is not thread-safe.  Finally found that one...