Rewrote rate control, background work for the download limit, the dl/ul limits per torrent and for the choking algorithm