Added SendCommandNow(), ClearQueue(), and corresponding motion preemption test.