Fixed a reference error with info windows and the session list joinText.

It turns out that creating the session variable broke the reference
chain we needed to maintain for this code to work.