Keep in mind that every time you connect from a host computer to the arduino over USB, it resets the Arduino. This results in very erratic behavior and created a big headache for us until we discovered THAT little gem. Now we don't use serial at all and the world is round once again. There are a couple of hardware fixes for this "feature", find them w/ Google.
Peace,
Tyler