add stats window
refactor stats toolbar