mam.lib: fix code mistake and traceback.
mod_bidi: fix traceback in case an outgoing session is not yet open.
mod_dialback: sort handling of destroyed verifying sessions. (Fixes #156)