Fixed English; made private (static) a number of functions.
Fixed comment.