Use device ID for global source check

Use the device ID to check if a capture device has already been added as
a global source rather than the device name from the combo box.
Improved debug logging
Log if QPC timestamps go backwards
Fix a possible crash caused by psvplugin at loading time.