make MsgTable private
give pivots a mutex