Fix SRT events not printing correctly

Also some slight refactoring in subtitles module