marsyasqt: MarSystemQtWrapper: improve thread synchronization
marsystems: AudioSink: prevent null-pointer dereference