fix for broken link
fixes portrait captions
adds processing of <app> to writings