Fixes for AudioContext and native MIDI.