Fix viacomm subs

Apply threaded logic to non api code, and make subtitles thread safe