Minor changes.
Added debugging stuff to monitor for possible off-by-one errors.
Added voicecount program which counts the number of actively sounding
voices.