minor bug fixes, functionality for sound playback