Made checkPainting non-destructive
removed unnecessary paramater from drawpixel
Documented paintGameState
merged