Added sound playing, fixed operation order problem that prevented some
sounds from playing.