Fixed startup script for segway.
Encoder logging support.