Improved Bot, added linux/max support. msg loggin.