Separate agent from scriptengine
Add error.backtrace
Merge pull request #776 from TheUnknownOne/master

Error.backtrace