WIp debug update to findsession. Much improved speed now.