enhance the session debug display to see content, clean up some comments