add transferfunctioneditor: still not right, but getting better. Centralize editiing of transfer function. Always store marker coordinates as relative.