Important fix to VoterB: selects on ALL read fds, sets and resets timeval correctly.
Updated timing code. Correctly close unused pipe ends.