rename and rereference repaint flags

very little checking was done to see if repaint was needed or something
else would work better, it would be good to go back and try to get rid
of as many repaints as possible