added statsWindow and fullscreen