Fixed broken stuff from prev update

- Changes to stop of playback caused issues - fixed
- Simplified ramp code