Fix for whitelists containing multiple keywords

At the moment a whitelist with multiple keywords prevents a download matching one of the keywords from being downloaded. This fixes that error. It also fixes whitespace issues in both the blacklist and the whitelist.