improve audio playback, keyboard handling