.
added buffer underrun detection and set number of buffers to 3
initialize loop, for gods sake