Added support for the WORK_QUEUE_WATCH flag and the append message
returning from the worker.  (Worker does not yet send the correct message.)
Integrated watch functions into worker.
Added test program for file watching.
Save state when update is found.
append -> update