\document{end} inserted, pictures moved do separate dir, pdf added.