Remove debug code from LevelDB ; add documentation