fixed issues with tycx, Session referencing (its now accessed from inside tycx)