Also changed the reference level printout to show dB instead of sample value. This seems more useful. 0dB is full scale.