Don't process MIDI events in GUI thread as this might corrupt MIDI event array if both GUI and processing thread access it. Fixes possible crashes. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>