I started to rewrite the struct that contains sequence and subtitle data. It is almost done, there is only the subtitle position algorithm that doesn't work anymore.