Ensure what was formerly $session is now properly leveraged as the public var $this->session to avoid notices.

Also, remove some debug cruft leftover from the original class.