Logging
More logging
Remove unnecessary indirection
Logging
This is actually an error...
Revert "Revert "Check for double insert in encodeBlock()" -> Slightly risky locking wise and not needed ..."

This reverts commit 3921a6f32cb0eb49ed4a1e57ddb17968c0505eca.
Locking
Logging/toString