s/PSPDF/NN/g in debug main thread guard