Add file and line information to backtrace.
More trace fixes, add callback trace support.