Set the target for mb_claim in the mainloop

It seems to be blocking the bot forever if it's done before having
logged in (or so).
add a file to generate a nice looking graph