Handler improved. Logs moved into the handler. New commands added. Auto rejoin added. Logic improved.