tidy up codes & examples; enable THIS,ROOT,PARENT