char aChar = Serial.read();
Serial.print("Hey, lookee here. I got a [");
Serial.print(aChar);
Serial.println("]");
should give you whole lot more output, and a clue.
Before posting any more code, PLEASE!!! use Tools + Auto Format. I'm tired of guess which } goes with which {.