eventually I will work on thread stuff again and make threads for everything and workarounds to latency issues