Ripped up unnecessary traces due to ground/power planes. Also switched encoder common to ground to use internal pullup resistors