something we should have done ages ago... bzz bzz
tidied up some logging
Merge pull request #11 from mikedewar/master

 something we should have done ages ago... bzz bzz