fix of stat - and a minor fix to afk

Stat was rewritten to show proper data - and a fix to afk mode
was added. minsLeft had to be set as well.