save + download fixes

- moved configToSave code into a helper method
- updated to unset parent on currentTrim
- using same pattern for save ops

Signed-off-by: Chris Jones <chris@jonezy.org>