abstract sessions key to const char *
trying to track down apparent thread-related strangeness