Added legends and title on plot.
Added exception handling (such as it is) to take care of not receiving
  data from arduino side.