Don't use std::thread, we don't need them. And yeahnd yeah, I know that the event loop is trash. but it is what it is