return a std::unique_ptr from getMainBufferWithPrecompiledPreamble. NFC.