Refactor: Replace C string with std::string
Refactor: Line up comments
Refactor: Replace integral type with bool
Refactor: Localize variables
Refactor: Replace magic number with named constant
Refactor: Move definitions from static to anonymous namespace
Refactor: Strings are empty by default
Refactor: Clarify comparison
Refactor: Localize variable