License changed to GPLv3; throw an error when the download fails due to wrong Download ID; code formatting