Might as well mutex here to be safe.
Don't double close the dsound thread.
Actually, let's not wait at all in Core_Stop().

It just triggers the action on the other thread.