More tweaks for examples, which are still in progress.
Added new example to create xterms. Other minor changes.