BAO offlinequeue handleleave scoreboard & some cleaning