Cleaned up listener configuration/start.

Fixes #12.