Minor code simplifications.

* Removed needless checking if data was lost. This cannot happen, and
is in any case is a catastrophy, whether it were to throw a NullRef or a
marginally better ApplicationException.
* Simplified the commit check loop. It now includes a goto, but a pretty
banal use of it.