Fixed a path error in the download code
Fixed the compare hash function that returned an incorrect hash if the filesize was zero
Fixed Magic Launcher config generation - missing ")" in statement
Added a bit more log info when a download failed