moved the autocomplete widgets out, added hooks to use them in admin, and other changes