Improve "PrintString", etc.

Made "PrintString" more sophisticated, replaced "STR_LEN" with
"SHORT_STR_LEN" and "LONG_STR_LEN", etc.