Some fixing positioning the send(...) after the on("message") receiver.

Also in config.init added a dummy receiver because the first time it seems to not being able to listening to replies.