Do not capitalize keywords
More concise return statements

Remove unnecessary variable assignments
Remove redundant true/false assignment
Fix exception namespace
Use more explicit less-than check
Use consistent variable naming format
Merge pull request #2 from johnkary/formatting

[PR2] General cleanup