Small doc clearifications on embedding and the GC, plus information on threading restrictions (#43966)
* Small clarifications on embedding and the GC, plus more information
on restrictions when embedding in a multi-thread environment
* Fix wide code blocks, add syntax highlight, small tweaks to text
* Trim trailing whitespace
Co-authored-by: Paul Melis <paul.melis@surfsara.nl>