Added new stats counter, changed drawSand.

Currently, the implementation of drawSand() is broken, but hopefully
this can be fixed with supsequent polish.
Merge branch 'master' into my local repo

My workflow is shit, I'm sorry.