Fixed serial communication issues and added strt/stop commands to data logging.