Flesh out the data manager fragment.

This commit will eventuall be squashed, or at least this comment.
Ironed out the last problems with the data stuff.

Now to figure out the interfaces for independent
operation of the fragments in different settings.