Added support of external audio tracks; Fixed some crashes