A hack to allow multiple trace_funcs. This should automatically call all trace funcs in the order in which they were added. Any existing trace func that is defined when this script is required may be wiped.
Add a new trace func.
|func||the func to add.|
Returns: the id of the func.
Remove a trace func.
|func||the id of the func to remove.|