Fix for ever blocking system monitor.
Various tweaks and fixes.
Overhaul chunk and segment structures.

This commit changes the chunking and segmentation of serializable data.

    - Chunks no longer need to contain homogeneous types.

    - Segments have a new reader/writer interface.