Changed serial handling. Now handleSerial() is called whenever the arduino is not doing anything. If there's nothing to handle, do nothing. Haven't seen any corrupted messages yet. Fixes #7.