Some cleanup on destructors and a looping wait for devices to show up
for pwm.