Fleshed out the journaling code a bit more - almost done with the
infrastructure.