* Fixing firstWrite
 * again
 * Fixing here and there
 * Refactoring lock related stats