Added a client for testing, modified messages to report on progress and implemented simple self-diagnostic.