Minor code fixes and tidy-ups.

 - Split one-line if statement in make_comment

 - Remove redundant assignment of issue_io in main

 - Correct a couple of minor typos in comments and docstrings