fixes in GPString for improved reliability. Added OsX thread id in logging.