Better exception handling
Multiple download request/ack handling
Comments and very slight refactoring