Added a condition to run_context_dist to allow a thread to wait until run_context_dist has become active, and implemented its use in mantis_client.
Reverted the default client configuration to server-file-writing
minor change