As someone who has written some multithreaded programs in the past, I strongly agree.
In my project collection I still have a multithreaded “basic bot” (a mix between a macro and logic) that I use to test stuff in CDDA which shows weird behaviors because of that, and I can’t wrap my head around as for why exactly or how to fix it…
One other thing to keep in mind concerning the performance problems… It might be related to the renderer, as KliPeH and anothersimulacrum pointed out in another post and topic:
…Some renderer were at least 3 or 4 times faster than others (this also includes long tasks like reading and crafting) when I’ve tested it, so it might be worth to give that a try.