Removed pictures insertion.

Also some minor code and docs improvements.