Logging.  Also, clean completed transfers.  Fixes #8.