little cleanup, realtime global stats