client: Avi recording now works and fixed the sound stuttering, refs #40