client: fixed avi sound recording partially, some wierd errors after record end are still present, refs #40