Ported the TG's error handler system, which allows runtime errors to be collected in a datum, browsed, and all the good stuffs