Be more truthful with our autocomplete path.
Fix autocompletetion of PIDs.
Fix calls to form_set_error().
Merge pull request #1 from adam-vessey/7.x-fixes

Few little fixes from code review.