Remove unused argument in functions
Add some comments in graphics.c/h