Added unsigned and const specifiers to many variables and parameters.

Changed default values of many member variables to be initialized in the
declaration.