readded support for srt subtitles and started to rework, improve and consolidate the code even more