on delete cascade
Added a few quotes.
Include images and files in omission statement.

And small postprocessing bugfix.