Removed masters Counters class and replaced it with normal Java Atomic i...

Counters is not a thread-safe class.  The edit log didn't get dependency counts since that was a different variable.

Deleted Counters and replaced all instances with AtomicLong or Integer.
why add a while loop here?

how about:

long current = mEditTransactionId.get();
current = math.Max(current, mJournal.loadEditLog(this));
mEditTransactionId.set(current);