work on pylint errors.

Ole, Ashley, Mark: can you please run 'make pylint' and try to remove the errors
in your parts of the code?  I'll then switch on the pylint warnings -- this will
be fun :-)

Either way: pylint works great -- thanks again Ashley!

A.