Send completed & stopped events to tracker
Use int64 instead of int in bencoder for less typecasting