New torrent status logic.
Merged two status logic methods.
Some small changes.
Merge pull request #333 from lfei815/tc-status

New torrent status logic.