global replaces

Did global replaces to make instance variables and functions conform to
camel-case style.