Save point and cleanup whitespace before saving.