Begin modifications to control code for LCD+keypad integration