teams 10-15 fix
do not render when window is not opened; lower framerate when window is not active