Fixed the Function class with new raise()
Use libunwind where available to generate backtraces more reliably.