Make the control program send commands faster.

There was a sort of bug in the send_command function that caused
it to wait unnecessarily, and take about 1 second for each
command that it sent. Now it can send them in less than a tenth
of a second.

I also fixed a dumb bug in motors.py.