- Remove unused class. + Cli config. Added cleanup for old messages.
* Fixed using potentially dead sessions.