Stopped calling .front() on empty lists in processDigitalPort()