Renamed sensors to parameters.

And some minor other things.