Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Localize variable
Refactor: Delete commented out code, correct comments
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool