removed unused NewUidDetected-event, added some debug messages