improvements to %%capture

added docs, example notebook, --no-display flag