IPTorrents code cleanup