Removed unneeded log lines.
Removed debug logginf from TCPMessaging.
Simplified barrier logic and made synchronized.
Changed activate message to only be sent by node 0.
Fixed error with pending member list not being cleared, active nodes being added to new nodes pending memberlist, and made it so not all nodes send activate message (only node 0).