minor formatting updates. fix add/remove voice bugs. fix voice id=null bug. add error catches to wave_gen.addvoice.