Change a few global variables to constants
Make global constants upper case
Auto-format C source code with Eclipse
Manual cleanup of formatting (mostly comments and print statements)
Merge pull request #20 from cdeil/less_global_variables

Change a few global variables to constants