Some minor changes to data logging and motor control code.