rerunHistory was not properly erasing the plotData first. Was resulting in funky plot effects. Fixed that bug.