Code

Fixed bug where offset was not written to XML when stop was added.