Pylint tweaks

PyLint now reports a score of 9.92 out of 10. Remaining items are spurious but can't be waived for some reason.