More output fiddling.
Exception handling.
Added @self global context.