Fixed mixup in the config reading that caused keyboard to reset, also use reference...