Use Q_ASSERT instead of simple qDebug message
Add check for tuplet and non-tuplet chords from previous bar