Fix for stall detection. Now we will definitely go into buffering state on underruns, and we will add a stall counter to monitor it.