enable preferences for robot

so that you can change useful defaults without recompiling. See Mr
Cherian for an example of how to do this.