Communicating PC to Arduino Mega 2560 through serial

Unless you have a damned good reason for using Serial.flush(), stop it. If you do, you'd be the first Arduino user EVER that did, and I'd like to hear it.