Generic Update

Pulled out printf_to_char (not used in our source)
Updated some logging functions
Rewrote some statements to use IS_NULLSTR checks.