Serial Repeater

  while (!Serial) 
  mySerial.begin(9600);

Why?

snippets-r-us.com is down the internet a ways. Here, we get to see ALL of your code.