Weed out shared_ptr

* Use plain pointers for backlinks from delegates to the model; this
  prevents memleaks through self-reference more easily than explicitly
  clearing the shared_ptr.