Made autorobots behave more reliably.

The code is still pretty hacky internally.
Re-documented autorobots.