Fix MIDI synchronization and preview.