more fixes for #407

verbose curl logging
cleaned up logging
temp minor fix for #573