Fixed issues with log. A complete working paxos. For real.