Improved easing algo, new SM version.
Made servlet start/end thread local scope stuff more robust.