Updated Program

Added error handlers for the serial port. Added a timer to grab the
arduino data ever 250ms and check for timeout