Added check to see if torrent progress was disabled

Changed the code around to check for various things, if torrenting is enabled is then goes into the two sub checks that check if torrenting.progress is enabled or disabled.