adding feature to toggle windows on and off from the plot. Nice.