better error reporting; boxed stringify to prevent weird DOM errors