Cleaned up.  Added the checking of the state of a single instance of the client.
Updated dependencies and version.