Flare activity, sunspot motions, and the evolution of vector magnetic fields in Hale region 17244