Convert more "printf" to "PrintString", etc.

Converted more instances of "printf" to "PrintString", particularly in
"location.c", and made a few other minor changes.