Update global config variables to use proper naming convention.
Add some comments to main script.
Update demo to use new naming convention for globals.
Whitespace.