Miscellaneous changes

1. Added one more example
2. Added matcher trace message method.
3. Query returns UIComponent.
4. UIComponent can create query.