Adding new debug features including macro expanded Errors and prints.

Finishing implementation on FunctionPtr, it was a very confusing class.