patched ActivityStreamListener conf & interop tests, improved code