Iron out some bugs in Raft implementation, but there are still more.