change arrowhead to first edge code (sort of fixes #22)
use common code for node animations
use circle vs polygon on sides = 50 - fixes #2