Fixup for previous
Be sure to always write changes to disk on quit.

Adapt dirty tracking from CHS to LBA edit.