Updated the redraw functions to clear the drawing instructions first before adding new ones. Less stored data