David -
You may be opening and closing the reference each time your code executes. This could cause twitching, as the "close" sets the PWM output value to disabled. I suggest drilling down into servo.close and take a look. Servo.close calls PWM.close, which sets the output to disabled.
The LVMastery video helped me understand the advanced framework. Now, when I teach teams, I get them up to speed using the basic and then point them to this video to get them to the advanced. Highly Recommended.
http://www.lvmastery.com/tipjar2009-01-05