Improving ASS to FRM+LYR conversion

- Fixing a bug where the syllables end frames were not set properly
- Improving timestamp to frame number conversion