Much refactoring

Added audio codecs & built-in menu options for audio and started on
caption editing system.