some tweaks; clear out the form if we're editting the host