XText scripting cleanup
Release 2.5 and documentation