- last bugfixes for including pdf's