Hoist strings, other minor cleanup. Use local curl