Looking good so far, pretty straightforward. So the communication API is synchronous, but you're buffering all the data and sending it in a different thread?
As far as feedback goes, it's always a bit difficult to judge code, API and libraries from afar. Video presentations are a great introduction, but my suggestion would be to upload the demo itself as well, so everyone can play around with it as well.
PS: I know i probably went full Chernobyl on some bad practices of the engine.
We all have to start somewhere
I'm just glad Duality doesn't explode in the process.