reorganized logging a bit, fixed same piece downloading by many peers