Added rpc_sleep, more flexible config file param, and display RPCs used

Small tidy-up of an examples script.