Bug fixes

Various fixes to trace back errors
repeating the frequency in device settings seems wrong too (also `... == 'CONNECTOR'`, not `'CONNECTOR' in ..`