Removed FileWatcher and Thread.
Removed XPathQuery and XPathResultSet (unused).
Do logging through Context virtual function to be implemented by the consumer, instead of handling file writing etc. internally.