Corrected Typos and added Logs to sendThread