1) You could remove those statements if you wanted, it does the same thing. Personally, I prefer the SimpleRobot class-based robot, instead of using functions like that (which incidentally, does the same type of thing). But, whatever works for you
2) Yes
3) There's a function called 'GetVoltage()', that's probably what you want.