Change "boolean debug = true;" to "const boolean debug = true;" to find two more mistakes.
Your code says:
if(Serial.available() == 1) {
Byte = Serial.read();
}
Since you are looking for a count of exactly 1 you will stop processing input if more than one character has arrived. You probably should use "if(Serial.available())" (meaning "if(Serial.available() != 0)") or "if(Serial.available() > 0)" or "if(Serial.available() >= 1)".