removed scrolling when playback is paused/stopped, workaround for crash on destroy when multiple instances are active, improved sample calculation