AS-81 modules/analyze: removed stream table; replaced on_error, on_psi with one callback