Pylint and grammar fixes for listener.py

- whitespace cleanup
- spaces around operators and following commas
- Punctuation / grammar in comments.