Do not force output format to mpg in stereo mode
Fix initialization checks