fd now detects faults; minor arduino fixes