attempt to provide the original format string during errors

I tried to create better error messages when the format library throws errors by including the original format string. The motivation for this is when there are 100s of format strings it's not fast to determine which format string is broken.

This first attempt causes undefined symbols during runtime. It's also incomplete, I have different version and found out through testing that the format string is NULL at the point of printing it out during the error. 

Looking for suggestions on how to make this work.