Clean up logging.
Assert was firing in wrong part of logic.
Forgetting to set listening flag.
More testbed improvements.