fixed pdf relative path redirects and re-arranged link-check on save