Fix the threading of the DeviceRegistry

Side effect:  fixes the damn frame synch code.