I'm using PTGui, which is very sophisticated, but seems to be very easy to use as well. You have complete control of how automated you want it. It handles both in-line (1 tall by as many wide as needed) panoramas and matrix (multiple rows, like 3 tall by 3 wide) shots equally well.
I also use a spherical panoramic head, which allows the lens to rotate around its optical axis, so there is no parallax error, frame to frame. The one I use is the Panosaurus, which works well and is pretty inexpensive. If you are only shooting distant things, this isn't a problem, but if there are close items in the frame as well, parallax will cause stitching errors.
The 17-40 is about the easiest lens there is, to calibrate to optical center on the pan head! It is one of the very few zooms that keeps the optical center constant throughout the range!