few performance things, formatting, and logging of bot stop time(which doesnt work)