added analysis_session_dump & ..close