Added comments, fixed DataString to write all sensor data.