Added full MIDI synchronization. Still does not work with the host (MIDI events svheduled too late)