Fixed some syntax errors left over from programming in a plane.