Numerous fixes, preview resolver protocol extension/stanzas, implementation of preview display in client