Log analyzing script now discards last recorded group in each trial.