Distance thresholds now put into EventDrivenSimulator; improved controller for mobile robot