Bug fix

stops media recorder properly, and waits for conversion to finish