These changes should: Make the plot start at zero correctly Prevent crashes when stopping tests Allow multiple test cycles to run properly Maintain stable operation during start/stop sequences C&D