Restructured Live Plotting. Introduced "show average" check.