Improve sound effects handling.
