Fix position of parenthesis
Fix uninitialized values
Fix compile error without bittorrent support