Check that we have exactly one argument.
Cosmetic changes and more logging.
Whitespace changes code formatting.
More logging.
Merge pull request #271 from marcjansen/screenie-fixes

Various minor screenshot-script fixes