#116 basic implementation of rendering capture

This is pretty crude – it just hijacks the `Context.render` method using an anonymous class.