added in a smoothing function, but C is fast enough that it never really runs.
Fixed clicking without motion to draw to the screen
Merge branch 'CGraphic'