Useful tools for xwt programming