Python threading fixes, add dummy robot class for use in testing