Add graphic output (error and motor history)