more cleanup and doc for curved arrows