Misc fixes

#172 
Small PR to make sure I did all the small stuff correctly
- Virtual dtors
- Old copy of xml before committing (#176 )
- Remove unnecessary task member variable in SerializationOperation
Oohh umm... Well I would prefer that it try to recover somehow, and/or at least inform the above layers (throw exception). Not sure what the above layers should do to handle that though