added secondary testing criteria
split brain and recovery working correctly. removed extra debugging. Optimized logging.