Increase compliance with pep8 [excepting that we use tabs, and freely
override some inbuilt functions like 'input'].