[115] Cleanup/optimization of embedding code

* Avoid a crash with dBManager initialization in case  of missing/error
in sqlite3.dll
* Make logs more verbose from the start