Support for multiple audio and subtitle streams

Improved, but not complete backwards compatibility as well as some other cumulative changes have been added to this build.