Misc fixes

for incomplete NAOs, and for a better checking on whether we are running on a robot.