DF qcadooView: add null checking & logging to QCDTrack.track & Ribbon.getRibbonItem