Updated documentation, improved logging, improved standalone client.