Add locking to make reverse gear reliable.

Tweaked pulse duration down, added some slop to delay.