Fix segments crashing in frontend because the content of the target attribute wasn't sent on the socket.  Some work towards unifying viewdefs for Extracts