fixed issue #39: recovery can fail with IO_ERROR if journal file is incomplete
More journal related cleanups