Revision of torrent locale code.
Cleanup of torrent framework source code.