got rid of some debug code and cleaned up page numbering code more
Fixed variable naming conventions
Cleaned up variable names some more
Started work on comments