sync sound.cpp with tesseract as far as possible, rework the preloading system