add hash for nsis advanced logging. Fix bug with performndownload failing when no hash is supplied.