Passing bandwidth throttling number to the download function, and changed the values of the CPU priority variables.